package com.skywaregroup.arenal;

import javax.ws.rs.WebApplicationException;
//import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;


public class WrongDataException extends WebApplicationException {
	
	private static final long serialVersionUID = 1L;
	
    public WrongDataException()
    {
        this("Data violation.", "Arenal");
    }

    public WrongDataException(String message, String param)
    {
        super(Response.status(Status.CONFLICT)
                .entity(message).build());
    }
}
